您目前的待办条数:<span id="taskNumSpan" style="color:red">0</span>
 
 
 
<#macro context><#if request?exists>${request.getContextPath()}</#if></#macro> 
<script src="<@context/>/js/jquery.min63b9.js"></script>
<script>
   
		
			
		
     function refreshTaskNumber(){
  	 	 var data =  {"account":"admin"} ;
  
		 $.ajax({
			type: "GET",
			url: "<@context/>/ued/test/getTaskNumber.do",
			data: data,
			dataType:"json",//返回类型
			cache: false,
			success: function(jsonData){
			    //alert(html);
			    if (jsonData.status=="success"){
					$("#taskNumSpan").html(jsonData.data);
				}else{
					alert(jsonData.message);
				}
			}
		 });
		 
      }
     
      window.onload=function(){
       	  refreshTaskNumber();
      }
       
      setInterval(refreshTaskNumber,90000);
</script>